import type { Meta, StoryObj } from "@storybook/react";

import ProgressAnalysisItem from "./index";
import React from "react";
const meta = {
  title: "样式原子组件/采购进度分析-ProgressAnalysisItem",
  component: ProgressAnalysisItem,
  tags: ["autodocs"],
  argTypes: {},
  decorators: [
    (Story) => (
      <div style={{ backgroundColor: "#06112B" }}>
        <Story />
      </div>
    ),
  ],
} satisfies Meta<typeof ProgressAnalysisItem>;

export default meta;
type Story = StoryObj<typeof meta>;

export const basic: Story = {
  args: {
    title: "收货入库(万元)",
    percent: 80,
    amount: 9998,

    imgProps: {
      src: "https://test-ymsl.kxgcc.com:30195/public/website/cockpit/%E6%96%87%E4%BB%B6%E8%BD%AC%E7%A7%BB.png",
    },
  },
};
